import {Spin} from 'antd'
// 对Spin组件进行了二次封装
const Loading = () => {
    const styles={
        display:'flex',
        justifyContent:'center',
        alignItems:'center',
        height:'100vh'
        }
    return (
        <div style={styles}><Spin size="large" tip="Loading..." /></div>
    )
}

export default Loading;